import {} from '@/api/Home'
import { color } from 'echarts'
// import echarts from "echarts";
export default function Home() {
  const centerState = reactive({
    topTitle: [
      {
        name: '园区概括',
        url: '',
      },
      {
        name: '综合模块',
        url: '',
      },
      {
        name: '生产模块',
        url: 'http://10.32.1.200:4000/dash/yj2',
      },
      {
        name: '设备模块',
        url: 'http://10.32.1.200:4000/dash/yj2',
      },
      {
        name: '运营模块',
        url: 'http://10.32.1.200:4000/dash/mes',
      },
    ],
    factoryTitle: [
      {
        name: '老厂区',
        url: '',
      },
      {
        name: '新厂区',
        url: '',
      },
    ],
    bottomTitle: [
      {
        name: '动环系统',
        url: '',
      },
      {
        name: '设备管理',
        url: '',
      },
      {
        name: '告警处理',
        url: '',
      },
      {
        name: '消防点位',
        url: '',
      },
    ],
  })

  // 创建完成
  onMounted(() => {})

  return {
    centerState,
  }
}
